package com.guosifan.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class User {

    private int id;
    private String username;
    private String password;
    private String nickname;    //昵称
    private String gender;
    private String telephone;
    private Date registerdate;
    private String address;

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
